<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($webname); ?></title>
<link href="__PUBLIC__/Admin/images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
</head>
<body>
<div id="login_body">
  <div id="login_content">
    <div class="heading"><?php echo ($webname); ?></div>
    <div class="box">
      <form action="<?php echo ($data[login_url]); ?>" method="post" id="form">
        <ul class="login">
          <li><span>用户名：</span>
            <input type="text" name="AdminName" value="" size="35" />
          </li>
          <li><span>密码：</span>
            <input type="password" name="Password" value="" size="35" />
          </li>
          <li><span>验证码：</span>
            <input type="text" name="verifyCode" value="" size="20" style="margin-top: 4px;" />
            <p><img src="<?php echo ($data[img_url]); ?>" onclick="this.src='<?php echo ($data[img_url]); ?>'+'&'+(new Date()).getTime();"></p>
          </li>
        </ul>
        <div><a onclick="$('#form').submit();" class="button">登 入</a></div>
      </form>
      <div class="login_img"><img src="__PUBLIC__/Admin/images/login.png" alt="后台登入" /></div>
    </div>
  </div>
</div>
<div class="footer"><?php echo ($copyright); ?></div>
<script type="text/javascript">
<!--
$('#form input').keydown(function(e) {
	if (e.keyCode == 13) {
		$('#form').submit();
	}
});
//-->
</script>
</body>
</html>